<!DOCTYPE html>
<html lang="en">
    {include file="public/header"}
    <link href="/admin/vendor/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
    <body>
        <div class="col-lg-12">
		    <form role="form" action="insert" method="post" id="form">
                <div class="col-lg-3">
                    <div class="form-group">
		                <label>选择学员</label>
                        <select name="stuid[]" multiple="multiple" class="form-control" style="height:300px">
                            {volist name="student" id="value"}
                            <option value="{$value.stu_id}">{$value.stu_name}</option>
                            {/volist}
                        </select>
                    </div>
                    <div class="form-group">
                        <label>开始时间</label>
		                <input type="text" class="form-control date" name="begin"  id="begin">
                        <p class="help-block">时间格式：2018-01-01</p>
                    </div>
                    <div class="form-group">
                        <label>结束时间：</label>
		                <input type="text" class="form-control date" name="close" id="close">
                        <p class="help-block">时间格式：2018-01-01</p>
                    </div>
		            <div class="form-group">
                        <label>课程顺序：</label>
		                <input type="text" class="form-control" name="sort">
                    </div>

                </div>

                <div class="col-lg-9">
                    <div class="form-group">
                        <label>课程名称</label>
		                <input type="text" class="form-control" name="title">
                    </div>
                </div>
                <div class="col-lg-9">
		            <div class="form-group">
                        <label>课程内容：</label>
                        <div class="clearfix"></div>
                        <div class="row">
                            <div class="col-lg-6">
                                <textarea class="form-control" name="content" id="content" rows="5"></textarea>
                            </div>      
                            <div class="col-lg-3">
                                <select class="form-control" id="book">
                                    <option value="0">点击选择课本</option>
                                    {volist name="book" id="b"}
                                    <option value="{$b.bk_id}">{$b.bk_name}</option>
                                    {/volist}
                                </select>
                                <p></p>
                                <select class="form-control" id="chapter">
                                </select>
                            </div>                          
                        </div>
                        
                        <div class="clearfix"></div>
                    </div>
                </div>

                <div class="col-lg-9">

                    <div class="form-group">
		                <label>课程练习题：</label>
		                <textarea name="exercise" id="exercise"></textarea>
		            </div>
		            <div class="form-group">
		                <label>课程备注：</label>
		                <textarea type="text" class="form-control" name="mark"></textarea>
		            </div>
                </div>
                <div class="col-lg-12">
		            <div class="form-group">
                        <a href="javascript:;" class="btn btn-primary" onclick="edu.submit('form',this)">确定</a>
		            </div>

                </div>
		    </form>

        </div>
        {include file="public/plane"}
        {include file="public/javascript"}
        {include file="public/jqueryform"}
        <script src="/admin/vendor/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
        <script src="/admin/vendor/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.config.js"></script>
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.all.js"></script>
        <script type="text/javascript" src="/admin/script/course/create.js"></script>
    </body>
</html>
